#!/usr/bin/env python3

def monkey(day):
    if day == 0:
        return 1
    return (monkey(day - 1) + 1) * 2

def main():
    print(monkey(5))

if __name__ == "__main__":
    main()
